<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="created" content="2018-10-23T06:18:10.521000000">
    <meta name="changed" content="2018-10-23T06:18:42.262000000">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Language" content="en">
    <title>
      Logisim libraries
    </title>
    <link rel="stylesheet" type="text/css" href="../../style.css">
  </head>
  <body>
    <div class="maindiv">
      <h1>
        Logisim libraries
      </h1>
      <p>
        Every Logisim project is automatically a library that can be loaded into other Logisim projects: Just save it into a file and then load the library within another project with the menu <b class=menu>|&nbsp;Project&nbsp;|</b>→<b class=menu>|&nbsp;Load Library&nbsp;|</b>→<b class=menu>|&nbsp;logisim-evolution library...&nbsp;|</b>. All of the circuits defined in the first project will then be available as subcircuits for the second. This feature allows you to reuse common components across projects and to share favorite components with your friends (or students).<br>
		Below our project loaded as a library is available in the navigation panel.
	  </p>
	  <p align="center">
        <img class="notscal" src="../../../img-guide/subcirc-10-lib.png" alt="#########">
      </p>
	  <p>
	    <b class=note>Note:</b> The library must not contain a circuit with the same name as a circuit already present in the project.
      </p>
      <p>
        Each project has a designated <b>main circuit</b>, which can be changed to refer to the current circuit via the menu <b class=menu>|&nbsp;Project&nbsp;|</b>→<b class=menu>|&nbsp;Set As Main Circuit&nbsp;|</b>. The <b>only</b> significance of this is that the main circuit is the one that is displayed when you first open the project. The default name ("main") of the circuit in a newly created file has no significance at all, and you can feel free to delete or rename that circuit.
      </p>
      <p>
        With a loaded Logisim library, you are allowed to view circuits and manipulate their states, but Logisim will prevent you from altering the circuits' design and other data stored within the file.
      </p>
      <p>
        If you want to alter a circuit in a loaded Logisim library, then you need to open it separately within Logisim. As soon as you save it, the other project should automatically load the modified version immediately; but if it does not, you can <b class="tkeybd">right-click</b> the library folder in the explorer pane and select <b class=menu>|&nbsp;Reload Library&nbsp;|</b>.
      </p>
      <p>
        <b>Next:</b> <a href="../index.html">User's Guide</a>.
      </p>
    </div>
  </body>
</html>
